import concrete_element.Cat;
import concrete_element.Dog;
import concrete_visitor.Owner;
import concrete_visitor.Someone;
import object_structure.Home;
import visitor.Person;

public class Client {

    public static void main(String[] args) {
        Home home = new Home();
        home.add(new Cat());
        home.add(new Cat());
        home.add(new Dog());

        Person person = new Someone();
        home.action(person);

    }
}
